package com.xingkeduo.pojo.remote.feign;

import com.xingkeduo.pojo.dto.Shops.StoreWorkPlanDTO;
import com.xingkeduo.tool.ResponseUtils;
import com.xingkeduo.util.config.FeignConfig;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.xingkeduo.tool.ResponseMessage;

@FeignClient(value = "business-workpad" , configuration = FeignConfig.class)
public interface WordPadFeignService {


    /**
     * 根据门店id获取所有可约发型师的id及最早可约时间
     * @param storeId
     * @return
     */
    @RequestMapping("/staff/stock/getMinFreeStockByStoreId")
    ResponseMessage getMinFreeStockByStoreIdOfStaffStock(@RequestParam(value = "storeId") Long storeId, @RequestParam(value = "selectDate") String selectDate);
    /**
     * 创建店铺后调用
     * @param
     * @return
     */
    @RequestMapping("/store/plan/saveStorePlan")
    ResponseUtils getStoreGrain(StoreWorkPlanDTO storeWorkPlanDTO);

}
